export const getNumber=(str:string):number=>{
    if(!str) return 0;
    let result=str.match(/\d+(\.)?\d+/);
    if(!result || result.length===0) return 0;
    return parseFloat(result[0]);
}
